package com.tc.activiti.user.service;

import com.tc.activiti.user.entity.SysRole;
import com.tc.activiti.user.entity.SysUser;

import java.util.List;

/**
 * @author zengqingfa
 * @date 2019/10/18 15:41
 * @description
 * @email zengqingfa_java@163.com
 */
public interface IRoleService {

    int deleteByPrimaryKey(Long roleId);

    int insert(SysRole record);

    int insertSelective(SysRole record);

    SysRole selectByPrimaryKey(Long roleId);

    int updateByPrimaryKeySelective(SysRole record);

    int updateByPrimaryKey(SysRole record);

    List<SysRole> getGroupsByUserName(Long userId);

    List<SysRole> findAll();
}
